package com.cdu.practicaltraining.sys.mapper;

import com.cdu.practicaltraining.pojo.DictDetail;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DictDetailMapper {

    int addDictDetail(DictDetail dictDetail) throws Exception;
    DictDetail findDictDetail(String dtype, String dtag) throws Exception;
    // 根据类型查询字典信息
    List<DictDetail> findDictDetailByType(String dtype) throws Exception;
}
